package com.drug.mingkang.model.vo;

import io.swagger.annotations.ApiParam;
import lombok.Data;

/**
 * 描述：原材料采购 原材料显示对象
 * 所属项目：mingkang
 *
 * @author 依旧
 * @create 2020-08-15 17:20
 * @employ IntelliJ IDEA
 * @since 1.0.0
 */
@Data
public class rawMaterialVo {
    @ApiParam(name = "page", value = "页", required = true)
    private int page;

    public int getPage() {
        return (page-1)*limit;
    }
    @ApiParam(name = "limit", value = "行", required = true)
    private int limit;
    /**
     * 原材料ID
     */
    private String materialId;
    /**
     * 原材料名
     */
    private String materialName;

    /**
     * 金额
     * @return
     */
    private  Double money ;
    /**
     * 原材料类型名称
     */
    private String typeName;

    private  Double maxMoney ;

    private  Double mixMoney ;

}